package com.example.service;


import com.example.dao.PrescriptionMapper;
import com.example.dao.ReservationMapper;
import com.example.domain.Prescription;
import com.example.domain.Reservation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReservationService {

    @Autowired
    private ReservationMapper reservationMapper;

    public List<Reservation> listAll(int doctor_id) {
        return reservationMapper.listAll(doctor_id);
    }

}
